<div id="templatemo_content">
    	
        <div class="col_w600">
        	<?php if($this->Articles->count()>0){?>
        		<?php $i=0; $Count=$this->Articles->count();
        			foreach ($this->Articles as $Article){?>
        			<?php if($i++==$Count){?>
        				<div class="news_box news_box_last">
			                <h2><?php echo $Article->title?></h2>		
			                <div class="news_meta"><?php echo date('M tS, Y',strtotime($Article->created_date))?> | <a href="http://www.templatemo.com/page/1" target="_parent">Web Templates</a> by <a href="http://www.templatemo.com" target="_parent">George</a></div>
			                        
			                <img src="images/templatemo_image_03.jpg" alt="TemplatemoImage03" />
			                <p><?php echo $Articles->description;?></p>
			                
			              <div class="cleaner_h20"></div>
			              <div class="float_l"><a href="#" class="comment">512 comments</a></div> 
			              <div class="btn_more float_r"><a href="#">More</a></div>  
			                
			                <div class="cleaner"></div>
			            </div>
        			<?php }else{?>
        				<div class="news_box">
			                <h2><?php echo $Article->title?></h2>		
			                <div class="news_meta"><?php echo date('M tS, Y',strtotime($Article->created_date))?> | <a href="http://www.templatemo.com/page/1" target="_parent">Web Templates</a> by <a href="http://www.templatemo.com" target="_parent">George</a></div>
			                        
			                <img src="images/templatemo_image_03.jpg" alt="TemplatemoImage03" />
			                <p><?php echo $Article->description;?></p>
			                
			              <div class="cleaner_h20"></div>
			              <div class="float_l"><a href="#" class="comment">512 comments</a></div> 
			              <div class="btn_more float_r"><a href="#">More</a></div>  
			                
			                <div class="cleaner"></div>
			            </div>
        			<?php }?>
        		<?php }?>
        	<?php }?>
            
        </div>
        
        <div class="col_w300 col_last">
            <h2>CATEGORIES</h2>
            <ul class="tmo_list">
            	<?php if($this->Categories->count()>0){?>
            		<?php foreach ($this->Categories as $Category){?>
            			<li><a href="<?php echo $Category->getLink();?>" title="<?php echo $Category->name?>"><?php echo $Category->name?></a></li>
            		<?php }?>
            	<?php }?>
            </ul>
        </div>
    
    	<div class="cleaner"></div>
    </div>